package cn.imu.service;

import cn.imu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    //根据用户名查询是否存在该用户（shiro）
    User selectUserByUsername(String username);
    //注册一个用户
    int insertUser(User user);
}
